package com.itheima_01;

import java.util.ArrayList;
import java.util.List;

public class test01 {
    public static void main(String[] args) {
        System.out.println(List.of("abc", "bcd"));
        ArrayList<String> list = new ArrayList<>(List.of("abc","bcd"));
        list.addAll(List.of("abc","bcd"));
        System.out.println(list);

    }
}
